package com.CmJava.service;


import com.CmJava.SpringInterface.AopBeanPostProcessor;
import com.CmJava.SpringInterface.BeanPostProcessor;
import com.CmJava.annotation.Component;
import com.CmJava.annotation.Lazy;
import com.CmJava.annotation.Scope;

@Scope
@Component("MyServiceImpl")
public class MyServiceImpl implements MyService, AopBeanPostProcessor {

    @Override
    public void getUserName() {
        System.out.println("MyServiceImpl --> 单例，变量名：MyServiceImpl，非懒加载");
    }



}
